﻿using System.Collections.Generic;
using BO;
using Model;

namespace Controller
{
    /// <summary>
    /// Summary description for VYC19Controller
    /// </summary>
    public class VYC19Controller
    {
        private static VYC19BO _vyc19Bo;
        public VYC19Controller()
        {
            _vyc19Bo = new VYC19BO();
        }
        public List<ModelVYC19> GetAllList()
        {
            return _vyc19Bo.GetAllList();
        }
        public int AddData(ModelVYC19 model)
        {
            return _vyc19Bo.AddData(model);
        }
        public int EditData(ModelVYC19 model)
        {
            return _vyc19Bo.EditData(model);
        }
        public int DeleteData(ModelVYC19 model)
        {
            return _vyc19Bo.DeleteData(model);
        }
        public List<ModelVYC19> GetById(int id)
        {
            return _vyc19Bo.GetById(id);
        }
    }
}